Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ms2/src/org/labkey/ms2/MS2SearchExperimentRunType.java
Original file line numberDiff line numberDiff line change
Expand Up@@ -40,7 +40,7 @@ public class MS2SearchExperimentRunType extends ExperimentRunType

public MS2SearchExperimentRunType(String name, String tableName, Priority priority, String... protocolPrefixes)
{
super(name, MS2Schema.SCHEMA_NAME, tableName);
super(name, MS2Schema.SCHEMA_KEY, tableName);
_priority = priority;
_protocolPrefixes = protocolPrefixes;
}
Expand Down
4 changes: 3 additions & 1 deletion ms2/src/org/labkey/ms2/query/MS2Schema.java
Original file line numberDiff line numberDiff line change
Expand Up@@ -37,6 +37,7 @@
import org.labkey.api.query.QueryForeignKey;
import org.labkey.api.query.QuerySchema;
import org.labkey.api.query.QueryService;
import org.labkey.api.query.SchemaKey;
import org.labkey.api.query.UserSchema;
import org.labkey.api.security.User;
import org.labkey.api.settings.AppProps;
Expand DownExpand Up@@ -76,6 +77,7 @@
public class MS2Schema extends UserSchema
{
public static final String SCHEMA_NAME = "ms2";
public static final SchemaKey SCHEMA_KEY = SchemaKey.fromParts("ms2");
public static final String SCHEMA_DESCR = "Contains data about MS2 runs, including detected peptides and proteins";

private static final String PROTOCOL_PATTERN_PREFIX = "urn:lsid:%:Protocol.%:";
Expand DownExpand Up@@ -136,7 +138,7 @@ public QuerySchema createSchema(DefaultSchema schema, Module module)

public MS2Schema(User user, Container container)
{
super(SCHEMA_NAME, SCHEMA_DESCR, user, container, ExperimentService.get().getSchema());
super(SCHEMA_KEY, SCHEMA_DESCR, user, container, ExperimentService.get().getSchema(), null);
}

public enum TableType
Expand Down