Skip to content

Conversation

@jos4uke
Copy link

@jos4uke jos4uke commented Apr 10, 2020

Hi

thanks for this great work you have done on this piece of software.

I sent you some fixes to the current install doc, because I encountered some troubles with the LINE compilation due to the missing path to my own lib and inc where I installed gsl. And also fixed requirements versions not supporting Python 2.7 as numpy, scipy and scikit-learn packages.
And finally fixed the install python setup.py command with missing install target command.
I updated the README for more details.

Best

**Python Libraries**
* [scikit-learn] >=0.19.0
* [scikit-learn] >=0.19.0, <= 0.20
* [Numpy] >= 1.15
Copy link
Author

@jos4uke jos4uke Apr 10, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to update the dependency version on numpy, the last numpy release to support Python 2.7: see https://docs.scipy.org/doc/numpy/release.html#numpy-1-16-0-release-notes

should be: [Numpy] <= 1.16

Copy link
Author

@jos4uke jos4uke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please can you review my comments, I forgot to add some doc and useful comments so people are aware of some mandatory step to make install work. Thanks in advance



## Test run

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well I was not able to run this test because of the missing input data.
If you can add a link where we can download them it would be great.
Thanks in advance

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The input data link has been added in the readme section. Could you please double check?

**Python Libraries**
* [scikit-learn] >=0.19.0
* [scikit-learn] >=0.19.0, <= 0.20
* [Numpy] >= 1.15
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you update it to: [Numpy] <= 1.16

$ python setup.py
$ python setup.py install

# clean
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should have mentioned this clean command is only after successful package install and optional

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you edit the README and add this comment plz


```

## Installation
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to tell I updated the setup.py file to set 2 variables INCPATH and LIBPATH respectively to the include and lib path to gsl. And the user should edit them to make it work.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you plz update the README and add these instructions so people are aware of this mandatory step


INCPATH="/opt/share/FLOCAD/userspace/jtran1/miniconda3/envs/sci_env/include"
LIBPATH="/opt/share/FLOCAD/userspace/jtran1/miniconda3/envs/sci_env/lib"
LIBS="-lgsl -lgslcblas -lpthread -L{}".format(LIBPATH)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should add a comment to tell people to edit these 2 variables INCPATH and LIBPATH to point to their include and lib path to gsl

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you plz add such a comment above these 2 variables

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And maybe replace my paths by some placeholder strings

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jos4uke I am trying to push some changes to the branch. May you give me permission to do so?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes for sure

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.

3 participants