Skip to content

Commit

Permalink
add a boolean to set a beamline to be protected
Browse files Browse the repository at this point in the history
  • Loading branch information
delageniere committed Nov 16, 2020
1 parent 3e2964f commit 5b3fbf0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ispyb-ejb/src/main/java/ispyb/common/util/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,8 @@ public static final boolean SITE_USERPORTAL_LINK_IS_SMIS() {
/*
* sets of constants
*/
// for ESRF, it is replaced by ESRFBeamlineEnum

public static final String[] BEAMLINE_LOCATION_DLS = { "i02", "i03", "i04", "i04-1", "i24" };

public static final String[] BEAMLINE_LOCATION_MAXIV = { "BioMAX", "MX" };
Expand All @@ -881,9 +883,6 @@ public static String getSAXSBeamline() {
}
}

// public static final String[] BEAMLINE_LOCATION = (SITE_IS_ESRF()) ? BEAMLINE_LOCATION_ESRF
// : (SITE_IS_DLS()) ? BEAMLINE_LOCATION_DLS : BEAMLINE_LOCATION_DEFAULT;

public static final String[] BEAMLINE_LOCATION = BEAMLINE_LOCATION_DEFAULT;

public static final int LOCATIONS_IN_SC = Integer.parseInt(getProperty("samplechanger.locations", "5"));
Expand Down

0 comments on commit 5b3fbf0

Please sign in to comment.