Skip to content

Commit

Permalink
fix the submit_job() method when source is a local directory
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Mar 14, 2022
1 parent 9e85d89 commit 20a4401
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nmpi/nmpi_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def submit_job(self, source, platform, collab_id, config=None, inputs=None,
collab_id,
remote_folder=self.collab_source_folder,
overwrite=True)
job['code'] = remote_folder["uuid"]
job['code'] = remote_folder.path
job['selected_tab'] = "upload_script"
job['command'] = self.collab_source_folder + "/" + job["command"]
else:
Expand Down
2 changes: 1 addition & 1 deletion test/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from nmpi import nmpi_user


ENTRYPOINT = "https://nmpi.hbpneuromorphic.eu/api/v2/"
ENTRYPOINT = "https://nmpi-staging.hbpneuromorphic.eu/api/v2/"
TEST_SYSTEM = "nosetest_platform"
TEST_USER = os.environ['NMPI_TEST_USER']
TEST_PWD = os.environ['NMPI_TEST_PWD']
Expand Down

0 comments on commit 20a4401

Please sign in to comment.