/ concept-collection / ephys_compression_tests
concept-collection / ephys_compression_tests
memobin fix
Jeremy Magland <jmagland@flatironinstitute.org> committed commit 76c0fcff0d56 parent ea2b90e Browse files
4 changed files+6−6
python/ephys_compression_tests/run_benchmarks/_memobin.pymodified+3−3View file
@@ -57,7 +57,7 @@ def create_signed_upload_url(
5757 """
5858
5959 def _create_url() -> str:
60- prefix = "https://tempory.net/f/memobin/"
60+ prefix = "https://tempory.net/f/memobin/ephys_compression_tests/"
6161 if not url.startswith(prefix):
6262 raise ValueError("Invalid url. Does not have proper prefix")
6363
@@ -115,7 +115,7 @@ def construct_memobin_url(
115115 The constructed memobin URL
116116 """
117117 path = f"{alg_name}/{dataset_name}/{alg_version}/{dataset_version}/{system_version}/{file_type}"
118- return f"https://tempory.net/f/memobin/{path}"
118+ return f"https://tempory.net/f/memobin/ephys_compression_tests/{path}"
119119
120120
121121 def construct_dataset_url(
@@ -132,7 +132,7 @@ def construct_dataset_url(
132132 The constructed memobin URL for the dataset
133133 """
134134 path = f"datasets/{dataset_name}/{dataset_version}/{dataset_name}-{dataset_version}.{format}"
135- return f"https://tempory.net/f/memobin/{path}"
135+ return f"https://tempory.net/f/memobin/ephys_compression_tests/{path}"
136136
137137
138138 def upload_to_memobin(
python/ephys_compression_tests/run_benchmarks/upload_benchmark_status.pymodified+1−1View file
@@ -35,5 +35,5 @@ def upload_benchmark_status(
3535 "completed_benchmarks": completed_benchmarks,
3636 }
3737
38- status_url = "https://tempory.net/f/memobin/benchmark_status/current.json"
38+ status_url = "https://tempory.net/f/memobin/ephys_compression_tests/benchmark_status/current.json"
3939 upload_to_memobin(status, status_url, memobin_api_key)
web-ui/src/pages/Home.tsxmodified+1−1View file
@@ -92,7 +92,7 @@ export default function Home() {
9292 try {
9393 const cacheBust = Math.random().toString(36).substring(2, 15);
9494 const response = await axios.get(
95- `https://tempory.net/f/memobin/benchmark_status/current.json?cachebust=${cacheBust}`,
95+ `https://tempory.net/f/memobin/ephys_compression_tests/benchmark_status/current.json?cachebust=${cacheBust}`,
9696 );
9797 setStatus(response.data);
9898 } catch (error) {
web-ui/src/pages/Monitor.tsxmodified+1−1View file
@@ -29,7 +29,7 @@ export default function Monitor() {
2929 try {
3030 const cacheBust = Math.random().toString(36).substring(2, 15);
3131 const response = await axios.get(
32- `https://tempory.net/f/memobin/benchmark_status/current.json?cachebust=${cacheBust}`,
32+ `https://tempory.net/f/memobin/ephys_compression_tests/benchmark_status/current.json?cachebust=${cacheBust}`,
3333 );
3434 setStatus(response.data);
3535 setError(null);