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

Install/running problem- ./MDS.sh: 1: ./MDS.sh: MDS_all: not found #40

Open
hanfu-bios opened this issue Jul 4, 2018 · 9 comments
Open

Comments

@hanfu-bios
Copy link

Hi,

I used python setup.py install --user to install the package on Unix. But I failed to run the examples. It gave me either
./MDS.sh: 1: ./MDS.sh: MDS_all: not found
or
pastis-mds: error: unrecognized arguments: -o -w 8 -r 10000 -k ./files/budding_yeast_structure -i ./wish_distances.txt -d -1 -c 1,2,3,4,5 -y 1

Any idea why? Do I need to install MDS_all and PM_all separately from the python package?

Thanks in advance.

Han

@NelleV
Copy link
Contributor

NelleV commented Jul 4, 2018

Hi @hanfu-bios
The recent releases do not use the compiled code "MDS_all" and "PM_all" anymore. There are several reasons why the code would still give errors. Do you mind answering the couple following questions?

  1. Where did you download the code from? It may be an old tarball.
  2. Did you have a previous installation of Pastis?

Many thanks,

@hanfu-bios
Copy link
Author

hanfu-bios commented Jul 4, 2018 via email

@NelleV
Copy link
Contributor

NelleV commented Jul 4, 2018

Hi @hanfu-bios
I don't know what I did wrong, but the latest released tag on github does not correspond to the latest release, hence the problem… I'm investigating what happened right now, but in the mean time, can you update with this tarball? https://github.com/hiclib/pastis/archive/v0.3.0.zip
Thanks

@hanfu-bios
Copy link
Author

hanfu-bios commented Jul 4, 2018 via email

@NelleV
Copy link
Contributor

NelleV commented Jul 4, 2018

Let me take a couple of hours to investigate what's going on on a fresh install.

@NelleV
Copy link
Contributor

NelleV commented Jul 4, 2018

I believe that the now latest release should fix the problem. I broke the pip one though…
https://github.com/hiclib/pastis/releases/tag/v0.3.1

Let me know if this doesn't work, and I'm terribly sorry about all of these troubles. I apparently broke my packaging recently…

@hanfu-bios
Copy link
Author

hanfu-bios commented Jul 5, 2018 via email

@NelleV
Copy link
Contributor

NelleV commented Jul 21, 2018

After a lot of fighting with packaging, I finally fixed all of the issues. if you reinstall or upgrade via pip, it should work ("pip install --upgrade"). Check that it downloads the 0.3.3 release, which I just released a couple of minutes ago, and it should be ok. It is possible that it takes a couple of hours for the servers to propagate this new release. Let me know if any other problems arise!

@hanfu-bios
Copy link
Author

Nelle, thank you so much for your efforts! I can run the example right now, but I still have problems running my own data. I have attached my input files here. The error was

File "/Users/hanfu/.local/lib/python3.6/site-packages/pastis/externals/iced/filter.py", line 63, in filter_low_counts verbose=verbose) File "/Users/hanfu/.local/lib/python3.6/site-packages/pastis/externals/iced/filter.py", line 174, in _filter_low_sum X[X_sum < x, :] = np.nan ValueError: cannot convert float NaN to integer

Can you please help me by looking into this error?

Thanks a lot!

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