Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
913f82c8
Commit
913f82c8
authored
Oct 01, 2020
by
Markus Scheidgen
Browse files
References are followed in archive API even without partial archive.
parent
4031b61e
Pipeline
#83347
canceled with stages
in 12 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nomad/app/api/archive.py
View file @
913f82c8
...
...
@@ -307,7 +307,10 @@ class ArchiveQueryResource(Resource):
upload_files
=
None
current_upload_id
=
None
required_with_references
=
compute_required_with_referenced
(
required
)
archive_is_complete
=
required_with_references
is
not
None
archive_is_complete
=
False
if
required_with_references
is
not
None
:
archive_is_complete
=
True
required
=
required_with_references
for
entry
in
calcs
:
with_embargo
=
entry
[
'with_embargo'
]
...
...
@@ -340,7 +343,7 @@ class ArchiveQueryResource(Resource):
try
:
partial_archive
=
upload_partial_archives
[
calc_id
]
partial_archive
=
filter_archive
(
required
_with_references
,
partial_archive
,
transform
=
lambda
e
:
e
)
required
,
partial_archive
,
transform
=
lambda
e
:
e
)
data
.
append
({
'calc_id'
:
calc_id
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment