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

No module named ui.GUI #16

Open
gcgloriachan opened this issue Oct 28, 2023 · 3 comments
Open

No module named ui.GUI #16

gcgloriachan opened this issue Oct 28, 2023 · 3 comments

Comments

@gcgloriachan
Copy link

Hi Team,

After I have tried to run the genomic parse "python promotech.py -pg -ts 20000 -f RP/promotech_data/dataset/GCF_000021865.1_ASM2186v1_genomic.fasta -o results" I got a error that says "No module named ui.GUI' even though I have put a folder of the ui files in the same directory as the python script. Any ideas what might have caused this?:

"Traceback (most recent call last):
File "promotech.py", line 5, in
from ui.GUI import Promotech_UI
ModuleNotFoundError: No module named 'ui.GUI'

@BioinformaticsLabAtMUN
Copy link
Owner

Hi,

You need to install the ui package https://pypi.org/project/ui/ and also make sure to clone the project.

@fraseraj
Copy link

fraseraj commented Mar 4, 2024

Hi,
I'm having an issue when trying to predict promoter sequences using the parsed sequence in whole-genome mode. The error message is below. I have checked the models directory and RF-HOT.model is in there. Thanks in advance!

Traceback (most recent call last):
File "/home/frasera/Promotech/promotech.py", line 91, in
threshold = args.threshold
File "/home/frasera/Promotech/genome/process_genome.py", line 175, in predictGenomeSequences
Path(model_path).stat().st_size / 1000000
File "/home/frasera/miniconda3/envs/promotech_env/lib/python3.6/pathlib.py", line 1158, in stat
return self._accessor.stat(self)
File "/home/frasera/miniconda3/envs/promotech_env/lib/python3.6/pathlib.py", line 387, in wrapped
return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: 'models/RF-HOT.model'

@pandaspa
Copy link

Hi, I'm having an issue when trying to predict promoter sequences using the parsed sequence in whole-genome mode. The error message is below. I have checked the models directory and RF-HOT.model is in there. Thanks in advance!

Traceback (most recent call last): File "/home/frasera/Promotech/promotech.py", line 91, in threshold = args.threshold File "/home/frasera/Promotech/genome/process_genome.py", line 175, in predictGenomeSequences Path(model_path).stat().st_size / 1000000 File "/home/frasera/miniconda3/envs/promotech_env/lib/python3.6/pathlib.py", line 1158, in stat return self._accessor.stat(self) File "/home/frasera/miniconda3/envs/promotech_env/lib/python3.6/pathlib.py", line 387, in wrapped return strfunc(str(pathobj), *args) FileNotFoundError: [Errno 2] No such file or directory: 'models/RF-HOT.model'

I have same issue,too.Can you tell me how do you slove this?

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

4 participants