We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to run the code with the same SODs. However, a bug came up and said,
max argument is an empty sequence pysaber/pysaber/mainsr.py Line 203 in ef39a80 max_mag = max([(sdd_smpl-sod_smpl)/sod_smpl for sdd_smpl,sod_smpl in zip(sdd,sod)])
max argument is an empty sequence
pysaber/pysaber/mainsr.py
Line 203 in ef39a80
I tried to look up to find that empty list, it is created in the below line, In mainsr.py
Line 89 in ef39a80
My suggestion is that use <= instead of < to avoid this error. I did this in my local branch and it can successfully run without any trouble.
The text was updated successfully, but these errors were encountered:
Fixed #1 empty sod list.
f9cbc0a
No branches or pull requests
I tried to run the code with the same SODs.
However, a bug came up and said,
I tried to look up to find that empty list, it is created in the below line,
In mainsr.py
pysaber/pysaber/mainsr.py
Line 89 in ef39a80
My suggestion is that use <= instead of < to avoid this error.
I did this in my local branch and it can successfully run without any trouble.
The text was updated successfully, but these errors were encountered: