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
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,6 +21,7 @@
import org.labkey.api.data.AtomicDatabaseInteger;
import org.labkey.api.data.Container;
import org.labkey.api.data.PropertyManager;
import org.labkey.api.data.PropertyManager.WritablePropertyMap;
import org.labkey.api.data.SQLFragment;
import org.labkey.api.data.SimpleFilter;
import org.labkey.api.data.SqlExecutor;
Expand DownExpand Up@@ -115,7 +116,7 @@ public String getDescription()

public void saveSettings(Container c, GenotypingFolderSettings settings)
{
PropertyManager.PropertyMap map = PropertyManager.getWritableProperties(c, FOLDER_CATEGORY, true);
WritablePropertyMap map = PropertyManager.getWritableProperties(c, FOLDER_CATEGORY, true);
map.put(Setting.ReferenceSequencesQuery.getKey(), settings.getSequencesQuery());
map.put(Setting.RunsQuery.getKey(), settings.getRunsQuery());
map.put(Setting.SamplesQuery.getKey(), settings.getSamplesQuery());
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,10 +16,11 @@

package org.labkey.genotyping.galaxy;

import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.labkey.api.data.Container;
import org.labkey.api.data.PropertyManager;
import org.labkey.api.data.PropertyManager.WritablePropertyMap;
import org.labkey.api.security.User;

import java.util.Map;
Expand DownExpand Up@@ -50,7 +51,7 @@ public static GalaxyManager get()

public void saveSettings(Container c, GalaxyFolderSettings settings)
{
PropertyManager.PropertyMap map = PropertyManager.getWritableProperties(c, FOLDER_CATEGORY, true);
WritablePropertyMap map = PropertyManager.getWritableProperties(c, FOLDER_CATEGORY, true);
map.put(GALAXY_URL, settings.getGalaxyURL());
map.save();
}
Expand All@@ -73,7 +74,7 @@ public String getGalaxyURL()

public void saveUserSettings(Container c, User user, GalaxyUserSettings userSettings)
{
PropertyManager.PropertyMap map = PropertyManager.getWritableProperties(user, c, USER_CATEGORY, true);
WritablePropertyMap map = PropertyManager.getWritableProperties(user, c, USER_CATEGORY, true);
map.put(GALAXY_KEY, userSettings.getGalaxyKey());
map.save();
}
Expand Down