diff options
| author | Tom Harley | 2018-04-23 01:53:39 +0100 |
|---|---|---|
| committer | Tom Harley | 2018-04-23 01:53:39 +0100 |
| commit | de38a80b0b69a2655e5a2f30cf207aab63379d69 (patch) | |
| tree | 9b907384e015ad6751ecc74ab77ceb8d271ff7cf /src/conversion/czi/cziconvert.c | |
| parent | Fix tests and add handy server scripts (diff) | |
| parent | fixing stuff in the csv conversion and adding supported views capability (diff) | |
| download | medicine-de38a80b0b69a2655e5a2f30cf207aab63379d69.tar.gz medicine-de38a80b0b69a2655e5a2f30cf207aab63379d69.zip | |
Merge branch ‘cjd24/conversion’ into trh/gets
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; } |
