Skip to content

Commit

Permalink
review applied
Browse files Browse the repository at this point in the history
  • Loading branch information
khsrali committed Jul 15, 2024
1 parent be9b52f commit f792b45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions aiida_firecrest/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,7 @@ def get_jobs(
)
)

# TODO: The block below is commented, because the number of
# allocated cores is not returned by the FirecREST server
# See issue https://github.com/aiidateam/aiida-firecrest/issues/39
# try:
# this_job.num_mpiprocs = int(thisjob_dict['number_cpus'])
# except ValueError:
Expand Down Expand Up @@ -342,9 +341,8 @@ def get_jobs(
f"Couldn't parse time_used for job id {this_job.job_id}"
)

# TODO: The block below is commented, because dispatch_time
# is not returned explicitly by the FirecREST server
# in any case, the time tags doesn't seem to be used by AiiDA anyway.
# dispatch_time is not returned explicitly by the FirecREST server
# see: https://github.com/aiidateam/aiida-firecrest/issues/40
# try:
# this_job.dispatch_time = self._parse_time_string(thisjob_dict['dispatch_time'])
# except ValueError:
Expand Down
2 changes: 1 addition & 1 deletion aiida_firecrest/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def __init__(
:param url: URL to the FirecREST server
:param token_uri: URI for retrieving FirecREST authentication tokens
:param client_id: FirecREST client ID
:param client_secret: FirecREST client secret or Absolute path to an existing FirecREST Secret Key
:param client_secret: FirecREST client secret or str(Absolute path) to an existing FirecREST Secret Key
:param client_machine: FirecREST machine secret
:param small_file_size_mb: Maximum file size for direct transfer (MB)
:param temp_directory: A temp directory on server for creating temporary files (compression, extraction, etc.)
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dependencies = [
"click",
"pyfirecrest@git+https://github.com/khsrali/pyfirecrest.git@main#egg=pyfirecrest",
"pyyaml",
"requests",
]

[project.urls]
Expand Down

0 comments on commit f792b45

Please sign in to comment.