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
enrico/RunGtlike.py
It's cleaner if library code and command line scripts are separated.
Therefore I suggest to remove the if __name__ == '__main__': part from enrico/RunGTlike.py.
if __name__ == '__main__':
enrico/RunGTlike.py
If I see correctly the only place where RunGTlike.py is used as a command line tool is in enrico.energybin.RunEbin?
RunGTlike.py
enrico.energybin.RunEbin
In that case we could simply call enrico.RunGTlike.run() there instead of calling RunGTlike.py as a command line tool?
enrico.RunGTlike.run()
@davidsanchez If you agree I think I could quickly make the change.
The text was updated successfully, but these errors were encountered:
I just saw: enrico/appertureLC.py currently is also a command line tool that is called from bin/enrico_applc. Same cleanup could be done here.
enrico/appertureLC.py
bin/enrico_applc
Sorry, something went wrong.
I will have a look
I don't know how to do that. RunGTlike is call when submitting a job and need to be call in a command line
cdeil
No branches or pull requests
It's cleaner if library code and command line scripts are separated.
Therefore I suggest to remove the
if __name__ == '__main__':
part fromenrico/RunGTlike.py
.If I see correctly the only place where
RunGTlike.py
is used as a command line tool is inenrico.energybin.RunEbin
?In that case we could simply call
enrico.RunGTlike.run()
there instead of callingRunGTlike.py
as a command line tool?@davidsanchez If you agree I think I could quickly make the change.
The text was updated successfully, but these errors were encountered: