Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

An example repository showing how to use CIBridge and Sci2 algorithms using Python

License

Notifications You must be signed in to change notification settings

CIShell/cibridge-example-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cibridge-example-workflow

An example repository showing how to use CIBridge and Sci2 algorithms using Python

Building Instructions

  1. Visit this repository https://github.com/CIShell/cishell-cibridge and follow the build instructions and running container instructions to run the CIBridge GraphQL server.
  2. Use the Sci2Container to access the algorithms from Sci2 algorithms.

Steps to run the script

  1. Install the following dependencies using pip.
pip install requests
pip install py-graphql-client
  1. Run the isi_worklow.py file by passing the input isi file, the output path with filename for the authors.csv and the third optional argument output path with filename for the nodes.csv.

Examples:

  1. isi_workflow.py xxxx/FourNetSciResearchers.isi authors.csv nodes.csv
  2. isi_workflow.py xxxx/FourNetSciResearchers.isi authors.csv

For the above example you will get the output in the same folder with names authors.csv and nodes.csv

About

An example repository showing how to use CIBridge and Sci2 algorithms using Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages