From c26efcd5f8cf82d062c260bb9751f49e5827cb17 Mon Sep 17 00:00:00 2001 From: cjd24 Date: Sun, 22 Apr 2018 10:10:14 +0100 Subject: Backing up - compressed the shellscript into node, and made some other unification changes. Also made the ZoomTiers be async for batman, and found and maaaayyyybe squashed a few super critical bugs - needs a final full run validation test though which takes too long :( --- src/conversion/czi/cziconvert.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/conversion/czi/cziconvert.c') diff --git a/src/conversion/czi/cziconvert.c b/src/conversion/czi/cziconvert.c index 85b925c..3024e7c 100644 --- a/src/conversion/czi/cziconvert.c +++ b/src/conversion/czi/cziconvert.c @@ -284,8 +284,8 @@ int functionRouter(FILE* imageFile, FILE* jsonOutput, long* fileOffset) { int main(int argc, char* argv[]) { //Check program input arguments. - if (argc < 2 || argc > 4) { - printf("Invalid number of arguments passed in.\nUsage:\n\n./prog \n\n"); + if (argc < 2 || argc > 3) { + printf("Invalid number of arguments passed in.\nUsage:\n\n./prog \n\n"); exit(1); } @@ -340,15 +340,5 @@ int main(int argc, char* argv[]) { fclose(jsonOutput); printf("\n=========== FINISH CZI EXTRACTION ===========\n\n\n\n"); - - //convert all the data's to jxr; - char jxrLoc[200]; - sprintf(jxrLoc, "%s %s %s", "python3", argv[3], argv[2]); - system(jxrLoc); - - - //begin work on re-factoring the image structure into a "smooth" grid - - return 0; } -- cgit v1.2.1