Giter VIP home page Giter VIP logo

anuran's People

Contributors

ramellose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

kenkeni-zju

anuran's Issues

input txt file

Hello,

thank you for developing and providing this interesting tool.

in the description you mention:

"The script recognizes gml, graphml and txt files (without headers) by their extension. The text files should be edge lists, with the third column containing edge weight."

should the txt file be comma-separated?

Thanks,
Marie

IndexError: list index out of range

I have three groups and each group has 30 networks, which are labelled with "1_XXX", "2_XXX" as stated in your description. However, when I run anuran with the following commands

anuran -i network_plots_a network_plots_b network_plots_c -c -net -stats bonferroni -o R\ 

I get the following error message:

2021-11-06 10:14:56,479 - anuran.main - INFO - Imported 3 group(s) of networks.
2021-11-06 10:14:56,480 - anuran.main - WARNING - One of the groups (network_plots_a) does not contain enough networks to generate robust tests for centralities or set sizes.
Suppressing warnings, but please be careful with the statistics!
Preferably use groups with at least 20 networks.
2021-11-06 10:14:56,482 - anuran.main - WARNING - One of the groups (network_plots_b) does not contain enough networks to generate robust tests for centralities or set sizes.
Suppressing warnings, but please be careful with the statistics!
Preferably use groups with at least 20 networks.
2021-11-06 10:14:56,482 - anuran.main - WARNING - One of the groups (network_plots_c) does not contain enough networks to generate robust tests for centralities or set sizes.
Suppressing warnings, but please be careful with the statistics!
Preferably use groups with at least 20 networks.
2021-11-06 10:15:09,044 - anuran.main - INFO - Set sizes exported to:  R\_sets.csv
2021-11-06 10:15:09,047 - anuran.main - ERROR - Could not rank centralities!
Traceback (most recent call last):
  File "C:\Anaconda3\envs\anuran\lib\site-packages\anuran\main.py", line 328, in model_calcs
    centralities = generate_ci_frame(networks, random, degree,
  File "C:\Anaconda3\envs\anuran\lib\site-packages\anuran\centrality.py", line 56, in generate_ci_frame
    results = _generate_ci_rows(name='Input', data=results, group=group,
  File "C:\Anaconda3\envs\anuran\lib\site-packages\anuran\centrality.py", line 106, in _generate_ci_rows
    properties = networks[0][2].keys() # gets all centrality names
IndexError: list index out of range

I have 30 networks, why do I get the warning "not enough networks" and what can I do about the IndexError?
I tried to run anuran without time-dependent networks and had about 40 networks per group, but still the same warnings and errors.

Thank you very much,
Marie

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.