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

modify ecl/codes.py filename=self.main_script #469

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aacedar
Copy link

@aacedar aacedar commented Dec 28, 2024

modify: ecl/codes.py Codes class

Codes()._run_codes() use main_script as program entrance, if entrance script is not 'main_script', will not run _run_codes() completely, because the following code(will return with the first if):
def _run_codes(self) -> None: directory = os.path.abspath(self.directory) if self.main_script not in os.listdir(directory): return False, "{} Not Found".format(self.main_script)

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