You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resaving specific ViewSetups to a new XML project fails if the first ViewSetup of the current dataset is not selected to be included in the new dataset.
Consider the following scenario - the user has got a dataset consisting of 3 timepoints, 2 channels and 2 illuminations and would like to split the ViewSetups into two smaller datasets according to the channel information.
Resaving ViewSetups which belong to the Channel with ID=0 works fine (see below).
However resaving the "even" ViewSetups" (see below) to a new project fails with the following exception (see further below):
Exception in thread "Thread-83" java.lang.NullPointerException
at net.preibisch.mvrecon.fiji.spimdata.explorer.popup.ResavePopup$MyActionListener$1.run(ResavePopup.java:227)`
at java.lang.Thread.run(Thread.java:745)
Lines 215 and 216 in ResavePopup are as follows:
final int firstviewSetupId = data.getSequenceDescription().getViewSetupsOrdered().get( 0 ).getId();
final ExportMipmapInfo autoMipmapSettings = perSetupExportMipmapInfo.get( firstviewSetupId );
When resaving the even ViewSetups, autoMipmapSettings is null, perhaps because data.getSequenceDescription().getViewSetupsOrdered().get( 0 ).getId(); inquires the first ViewSetup ID from the entire dataset, no matter whether it has been selected to be included in the new dataset or not.
The text was updated successfully, but these errors were encountered:
Resaving specific ViewSetups to a new XML project fails if the first ViewSetup of the current dataset is not selected to be included in the new dataset.
Consider the following scenario - the user has got a dataset consisting of 3 timepoints, 2 channels and 2 illuminations and would like to split the ViewSetups into two smaller datasets according to the channel information.
Resaving ViewSetups which belong to the Channel with ID=0 works fine (see below).
However resaving the "even" ViewSetups" (see below) to a new project fails with the following exception (see further below):
Lines 215 and 216 in
ResavePopup
are as follows:When resaving the even ViewSetups,
autoMipmapSettings
isnull
, perhaps becausedata.getSequenceDescription().getViewSetupsOrdered().get( 0 ).getId();
inquires the first ViewSetup ID from the entire dataset, no matter whether it has been selected to be included in the new dataset or not.The text was updated successfully, but these errors were encountered: