Commit 23984340 authored by Piotr Wendykier's avatar Piotr Wendykier

Merge origin/feature/InstallBuilder2 into feature/InstallBuilder2

parents dbec19f9 e27eb146
This diff is collapsed.
......@@ -69,7 +69,6 @@ import javax.swing.ToolTipManager;
import jcuda.driver.*;
import static jcuda.driver.CUdevice_attribute.*;
import static jcuda.driver.JCudaDriver.*;
import org.apache.commons.io.FileUtils;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;
......@@ -735,8 +734,8 @@ public class VisNow {
mainFrame.getApplicationsPanel().addApplication(app);
if (args.length != 0) {
for (String arg : args) {
// Initializing with the default reader when called with a .vnf filename as a parameter
if (arg.endsWith(".vnf") || arg.endsWith(".VNF")) {
// Initializing with the default reader when called with a .vnf or .vns filename as a parameter
if (arg.endsWith(".vnf") || arg.endsWith(".VNF") || arg.endsWith(".vns") || arg.endsWith(".VNS")) {
app.addModuleByName("VisNow field reader",
"pl.edu.icm.visnow.lib.basic.readers.ReadVisNowField.ReadVisNowField",
new Point(100, 20));
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment