Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

58 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

python-client

User Portal Ingester

Ingester.py

It will ingest data from the json files (json/labcontact.json, json/labcontacts.json, json/proposers.json, json/samples.json, json/scientists.json, json/sessions.json) into ISPyB

Requirements:

credentials.properties

It should exist (someone can copy credentials.properties.example). Site should be ESRF as the ESRF authenticator will be override to allow dummy authentication.

[Credential]
user=mx415	
password=password
site=ESRF

ispyb.properties

This should point to a valid ISPyB instance

[Connection]
url=http://localhost:8085/ispyb/ispyb-ws/rest


[Proxy]
http=
https=

Run

cd python/userportal/
python Ingester.py

If you are using ispyb-docker

This will ingest data from user portal (sample and proteins) for proposal mx415

git clone https://github.com/ispyb/ispyb-client.git
cd ispyb-client/
cd python/userportal/
python Ingester.py 

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages