Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug, only add tarball when git installed #233

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

dachengx
Copy link
Collaborator

Otherwise, you will see error like:

Traceback (most recent call last):
  File "/home/xudc/alea/alea/scripts/alea_submission.py", line 99, in <module>
    main()
  File "/home/xudc/alea/alea/scripts/alea_submission.py", line 95, in main
    submitter.submit()
  File "/home/xudc/alea/alea/submitters/htcondor.py", line 700, in submit
    self._generate_workflow()
  File "/home/xudc/alea/alea/submitters/htcondor.py", line 585, in _generate_workflow
    job.add_inputs(
  File "/usr/lib64/pegasus/python/Pegasus/api/_utils.py", line 85, in wrapper
    assert f(self, *args, **kwargs) == None
  File "/usr/lib64/pegasus/python/Pegasus/api/workflow.py", line 88, in add_inputs
    raise DuplicateError(
Pegasus.api.errors.DuplicateError: file: alea.tar.gz has already been added as input to this job

@coveralls
Copy link

coveralls commented Nov 22, 2024

Pull Request Test Coverage Report for Build 11964278524

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 89.748%

Totals Coverage Status
Change from base Build 11815730221: 0.1%
Covered Lines: 1707
Relevant Lines: 1902

💛 - Coveralls

@dachengx dachengx requested a review from hammannr November 22, 2024 04:35
@dachengx dachengx merged commit adc7a61 into main Nov 26, 2024
6 of 7 checks passed
@dachengx dachengx deleted the fix_bug_tarball branch November 26, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants