We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d4d7a2 commit 19e211eCopy full SHA for 19e211e
jbrowse/src/org/labkey/jbrowse/model/JsonFile.java
@@ -179,8 +179,13 @@ public void setSequenceId(Integer sequenceId)
179
180
public File getBaseDir()
181
{
182
- File jbrowseDir = FileUtil.appendName(JBrowseManager.get().getBaseDir(getContainerObj(), needsProcessing()), "resources");
+ File baseDir = JBrowseManager.get().getBaseDir(getContainerObj(), needsProcessing());
183
+ if (baseDir == null)
184
+ {
185
+ return null;
186
+ }
187
188
+ File jbrowseDir = FileUtil.appendName(baseDir, "resources");
189
return needsProcessing() ? FileUtil.appendName(jbrowseDir, getObjectId()) : null;
190
}
191
0 commit comments