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

DICAST GUI crashes when clicking "Select custom Snakefile" #5

Closed
KarmaChild opened this issue Jul 4, 2023 · 1 comment
Closed

DICAST GUI crashes when clicking "Select custom Snakefile" #5

KarmaChild opened this issue Jul 4, 2023 · 1 comment

Comments

@KarmaChild
Copy link

Hello,

I'm very new to DICAST and I'm trying to run the GUI, after selecting the working directory, when I press the "Browse" button to select the custom Snakefile, the GUI immediately crashes with this message -

(base) adi@Adithyas-Air DICAST % conda activate dicast-snakemake
(dicast-snakemake) adi@Adithyas-Air DICAST % python gui/dicast.py
Traceback (most recent call last):
File "/Users/adi/opt/DICAST/gui/dicast.py", line 58, in
self.snake_button.clicked.connect(lambda: self.set_snake_file(self.select_snakefile_label))
File "/Users/adi/opt/DICAST/gui/dicast.py", line 354, in set_snake_file
self.custom_snakefile_full_path = on_button_get_file_path_clicked(label, self.wd_folder_full_path)
File "/Users/adi/opt/DICAST/gui/dicast_config_setter.py", line 67, in on_button_get_file_path_clicked
dialog = FileDialog(True)
File "/Users/adi/opt/DICAST/gui/dicast_config_setter.py", line 17, in init
self.forward_button.blockSignals(True)
AttributeError: 'NoneType' object has no attribute 'blockSignals'
zsh: abort python gui/dicast.py

Would appreciate your help a lot! Thanks!

@amitfenn
Copy link
Collaborator

Sorry, K,

https://dicast.readthedocs.io/en/master/get-started/run/gui.html
shows that this approach is depreciated. If you must use it, please consider the solutions here:

I would recommend using the tried and tested approach:
https://dicast.readthedocs.io/en/master/get-started/run/dicast-cli.html.

Alternatively, if you think you may not need simulations or all of the pipeline, you could use this approach:
https://dicast.readthedocs.io/en/master/get-started/run/one_tool.html,

Best wishes,
Amit.

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

No branches or pull requests

2 participants