Giter Club home page Giter Club logo

Comments (6)

davidlmobley avatar davidlmobley commented on September 4, 2024

That's odd. @shuail ??

(He added the hub option recently.)

from lomap.

shuail avatar shuail commented on September 4, 2024

@achantzis That's odd, could you try to run the test case under the tests folder (the function is here

def test_graph_radial_hub(self):
) and see if you could get the radial graph using that example case?

from lomap.

achantzis avatar achantzis commented on September 4, 2024

@shuail I have run the test script as: python ./test_lomap.py

And I get the following:

.usage: LOMAPv1.0 [-h] [-p PARALLEL] [-v {off,info,pedantic}] [-t TIME]
[-e ECRSCORE] [-o] [-n NAME] [-d] [-m MAX] [-c CUTOFF] [-r]
[-b HUB] [-f] [-a]
directory
LOMAPv1.0: error: argument -p/--parallel: invalid int value: '-1.5'
usage: LOMAPv1.0 [-h] [-p PARALLEL] [-v {off,info,pedantic}] [-t TIME]
[-e ECRSCORE] [-o] [-n NAME] [-d] [-m MAX] [-c CUTOFF] [-r]
[-b HUB] [-f] [-a]
directory
LOMAPv1.0: error: argument -v/--verbose: invalid choice: 'err_option' (choose from 'off', 'info', 'pedantic')
usage: LOMAPv1.0 [-h] [-p PARALLEL] [-v {off,info,pedantic}] [-t TIME]
[-e ECRSCORE] [-o] [-n NAME] [-d] [-m MAX] [-c CUTOFF] [-r]
[-b HUB] [-f] [-a]
directory
LOMAPv1.0: error: argument -t/--time: invalid int value: '-1.5'
usage: LOMAPv1.0 [-h] [-p PARALLEL] [-v {off,info,pedantic}] [-t TIME]
[-e ECRSCORE] [-o] [-n NAME] [-d] [-m MAX] [-c CUTOFF] [-r]
[-b HUB] [-f] [-a]
directory
LOMAPv1.0: error: argument -m/--max: invalid int value: '-5.0'
usage: LOMAPv1.0 [-h] [-p PARALLEL] [-v {off,info,pedantic}] [-t TIME]
[-e ECRSCORE] [-o] [-n NAME] [-d] [-m MAX] [-c CUTOFF] [-r]
[-b HUB] [-f] [-a]
directory
LOMAPv1.0: error: argument -m/--max: invalid int value: 'string'
..........

Ran 11 tests in 15.264s

OK

It seems that the tests for invalid arguments have passed and all is fine. I did not get any graph out of this run though... Was it expected to produce a graph by running the tests of this script?

from lomap.

ppxasjsm avatar ppxasjsm commented on September 4, 2024

@achantzis are you on the master branch or the networkx2 one? Can you type git log in your terminal? You may just not be using a branch where that functionality is already implemented?

from lomap.

achantzis avatar achantzis commented on September 4, 2024

@ppxasjsm

Doing git log I got the following:

commit f0d52a1
Author: ppxasjsm [email protected]
Date: Tue Oct 16 22:30:39 2018 +0100

only build for devel and master

commit 9e97a08
Author: ppxasjsm [email protected]
Date: Tue Oct 16 22:22:13 2018 +0100

adding pygraphviz

commit dba977b
Author: ppxasjsm [email protected]
Date: Tue Oct 16 22:16:23 2018 +0100

matplotlib 1.5

commit 787f1ba
Author: ppxasjsm [email protected]
Date: Tue Oct 16 22:11:01 2018 +0100

welcome to conda dependency hell

commit d61ab1b
Author: ppxasjsm [email protected]
Date: Tue Oct 16 21:56:01 2018 +0100

adding pyqt4 dependcy to travis

commit fe3bd91
Author: ppxasjsm [email protected]
Date: Tue Oct 16 17:35:56 2018 +0100

are you a valid yml?

commit 67ee935
Author: ppxasjsm [email protected]
Date: Tue Oct 16 17:28:58 2018 +0100

are you a valid yml?

commit 7d5a346
Author: ppxasjsm [email protected]
Date: Tue Oct 16 17:02:45 2018 +0100

ugh travis again

commit fa24ec7
Author: ppxasjsm [email protected]
Date: Tue Oct 16 17:00:43 2018 +0100

ugh travis

commit 20e1a55
Author: ppxasjsm [email protected]
Date: Tue Oct 16 16:58:22 2018 +0100

fixing Pep* convention and trailing whitespaces issue

commit 7f3ace4

from lomap.

davidlmobley avatar davidlmobley commented on September 4, 2024

Closing this; maintenance moved to github.com/OpenFreeEnergy/Lomap.

from lomap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.