Skip to content

Commit

Permalink
Merge pull request #389 from JunAishima/enable-ispyb-dev
Browse files Browse the repository at this point in the history
enable use of alternative ISPyB config files
  • Loading branch information
vshekar authored Jul 1, 2024
2 parents b058a2a + 45c823d commit 8e21202
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ispybLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@

#12/19 - I'm leaving all commented lines alone on this. Karl Levik, DLS, is an immense help with this.

conf_file = "/etc/ispyb/ispybConfig.cfg"
ispyb_db_name = os.environ("ISPYB_DB", "ispyb")
conf_file = f"/etc/ispyb/{ispyb_db_name}Config.cfg"
visit = 'mx99999-1'
# Get a list of request dicts
#request_dicts = lsdb2.getColRequestsByTimeInterval('2018-02-14T00:00:00','2018-02-15T00:00:00')
Expand Down

0 comments on commit 8e21202

Please sign in to comment.