diff options
| author | cjd24 | 2018-04-22 10:10:14 +0100 |
|---|---|---|
| committer | cjd24 | 2018-04-22 10:10:14 +0100 |
| commit | c26efcd5f8cf82d062c260bb9751f49e5827cb17 (patch) | |
| tree | 602577c504dee859c961a5cac1b97c41ae70ae43 /src/conversion/czi/cziconvert.c | |
| parent | HOLY ASYNCHRONOUS FILE CONVERSION BATMAN (diff) | |
| download | medicine-c26efcd5f8cf82d062c260bb9751f49e5827cb17.tar.gz medicine-c26efcd5f8cf82d062c260bb9751f49e5827cb17.zip | |
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 :(
Diffstat (limited to 'src/conversion/czi/cziconvert.c')
| -rw-r--r-- | src/conversion/czi/cziconvert.c | 14 |
1 files changed, 2 insertions, 12 deletions
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 <input file> <outputjson> <pythonJxrConvertor>\n\n"); + if (argc < 2 || argc > 3) { + printf("Invalid number of arguments passed in.\nUsage:\n\n./prog <input file> <outputjson>\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; } |
