Commit a5dedb70 authored by Phuong Khanh Tran's avatar Phuong Khanh Tran
Browse files

Update Main.java

parent a5f81b5f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -74,6 +74,8 @@ public class Main {
                break;
            case "--downloadPubChem":
                // Repurposed moleculePath should be in format "start,end"
                // Input format for the file path is "start,end" where 'start' and 'end' are the starting and ending CID indices of molecules in PubChem
                // For example, enter 12,24 to download molecules 12-24
                String[] indexes = moleculePath.split(",");
                if (indexes.length == 2) {
                    String start = indexes[0];