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

bypass the genetic-elements.dat and organisms.dat creation #79

Closed
lcottret opened this issue Aug 25, 2022 · 4 comments
Closed

bypass the genetic-elements.dat and organisms.dat creation #79

lcottret opened this issue Aug 25, 2022 · 4 comments

Comments

@lcottret
Copy link

lcottret commented Aug 25, 2022

Hi !

I'm ready to use mpwt :-).
In my pipeline, I generated all the genetic-elements.dat and organism.dat. Is there a way in mpwt to bypass the creation of these files if they are present in the input folders ?

Ludo

@lcottret lcottret changed the title bypass the genetic-elements.dat creation bypass the genetic-elements.dat and organisms.dat creation Aug 25, 2022
@lcottret
Copy link
Author

lcottret commented Aug 26, 2022

To be more concrete, I put information in organisms.dat that I can't deal with in mpwt. For instance, the name of the species that I want to display (e.g to add the strain), the copyright, etc...

ArnaudBelcour added a commit that referenced this issue Aug 29, 2022
Fix an issue with a mpwt option. There was an issue when running mpwt to
create flat files on already created PGDB.
@ArnaudBelcour
Copy link
Contributor

ArnaudBelcour commented Aug 29, 2022

Hi @lcottret,

In the current version (0.7.2) mpwt will rewrite the input files, so it is not possible.

But I have made changes in the branch mpwt 0.8.0, that should keep the input files provided and not rewrite them.

Can you test it?
A little warning: the version on the branch 0.8.0 is still in development, so I recommend to make copies of your file before testing it.

@lcottret
Copy link
Author

lcottret commented Sep 5, 2022

Hi !

Thanks @ArnaudBelcour !

What is the easiest way to test the 0.8.0 version ? Is it possible to use pip ?

@ArnaudBelcour
Copy link
Contributor

ArnaudBelcour commented Sep 5, 2022

Hi,

I think the easiest way is to combine git and pip.

First, uninstall older version of mpwt with a pip uninstall mpwt.

Then clone the repository:

git clone https://github.com/AuReMe/mpwt.git

Move to the branch 0.8.0:

cd mpwt
git checkout mpwt_0.8.0

Then install it with pip:
pip install .

You can also add the -e (editable) option: pip install -e . With the -e option, pip will track the changes made on the git repository allowing to easily update to the new commits (in combination with git pull).

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