Skip to content

Commit 6b45595

Browse files
fix hoc downloader (#74)
* fix hoc downloader
1 parent ae9e012 commit 6b45595

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/entitysdk/downloaders/emodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def download_hoc(
2222
output_dir = create_dir(output_dir)
2323
asset = client.download_assets(
2424
emodel,
25-
selection={"content_type": "application/hoc"},
25+
selection={"content_type": "application/x-neuron-hoc"},
2626
output_path=output_dir,
2727
).one()
2828

tests/unit/downloaders/test_emodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def _mock_asset_response(asset_id):
1010
"path": "foo.hoc",
1111
"full_path": "foo.hoc",
1212
"is_directory": False,
13-
"content_type": "application/hoc",
13+
"content_type": "application/x-neuron-hoc",
1414
"size": 100,
1515
"status": "created",
1616
"meta": {},

tests/unit/downloaders/test_memodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _mock_emodel_asset_response(asset_id):
4545
"path": "foo.hoc",
4646
"full_path": "foo.hoc",
4747
"is_directory": False,
48-
"content_type": "application/hoc",
48+
"content_type": "application/x-neuron-hoc",
4949
"size": 100,
5050
"status": "created",
5151
"meta": {},

0 commit comments

Comments
 (0)