Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
8a8bfca
Update Dockerfile
sarthakpati Aug 21, 2023
607b1b5
Update docker-image.yml
sarthakpati Aug 21, 2023
dbc0da4
updated version
sarthakpati Aug 21, 2023
611a6a9
using new base image
sarthakpati Aug 21, 2023
3e75a48
revert
sarthakpati Aug 21, 2023
0ddbb26
Update Dockerfile
sarthakpati Aug 22, 2023
a00edfc
Update Dockerfile
sarthakpati Aug 22, 2023
4f9e8e4
Update Dockerfile
sarthakpati Aug 22, 2023
9308686
Update Dockerfile
sarthakpati Aug 22, 2023
e747323
Update Dockerfile
sarthakpati Aug 22, 2023
e8a922e
trying new captk paths
sarthakpati Aug 22, 2023
271eea5
Update Dockerfile
sarthakpati Aug 22, 2023
93c95fa
let's try without hausdorff
sarthakpati Aug 22, 2023
7d346c7
Update CMakeLists.txt
sarthakpati Aug 22, 2023
71623ff
disable deepmedic
sarthakpati Aug 22, 2023
dce6c1d
removed all
sarthakpati Aug 22, 2023
2c3d32a
removed download
sarthakpati Aug 23, 2023
a1135af
updated with correct python venv installation sequence
sarthakpati Aug 23, 2023
9db2dca
older python install
sarthakpati Aug 23, 2023
cba3e33
Update Dockerfile
sarthakpati Aug 23, 2023
fbee219
Update Dockerfile
sarthakpati Aug 23, 2023
b1a5c40
Update Dockerfile
sarthakpati Aug 23, 2023
2abb33b
submodules should be getting in
sarthakpati Aug 23, 2023
4dd001e
trying another option
sarthakpati Aug 23, 2023
c927848
checking files
sarthakpati Aug 23, 2023
0386b0a
trying manual submodule
sarthakpati Aug 23, 2023
0ba403b
different submodule init syntax
sarthakpati Aug 23, 2023
fd8f2c7
added gandlf repo for fets tool build
sarthakpati Aug 23, 2023
20d3c35
checking if the manual zip upload works
sarthakpati Aug 23, 2023
f186a53
corrected installation command
sarthakpati Aug 23, 2023
e6c74bf
Update Dockerfile
sarthakpati Aug 23, 2023
cee8f2e
added manual submodule update
sarthakpati Aug 23, 2023
30f3fb7
added algorithm - because submodule was not working
sarthakpati Aug 23, 2023
071b5c8
trying a manual solution for `Algorithms` as well
sarthakpati Aug 23, 2023
a60a6e8
putting label fusion in a separate command
sarthakpati Aug 23, 2023
0903f30
changed the order of installation, added models
sarthakpati Aug 24, 2023
23a3ba3
trying another thing
sarthakpati Aug 24, 2023
c47f29b
using the new/different syntax for inference script
sarthakpati Aug 24, 2023
5824666
last resort for sklearn
sarthakpati Aug 24, 2023
2bb7b26
rename copied tmp files as expected
hasan7n Aug 28, 2023
45b3ee9
change inference script
hasan7n Aug 28, 2023
f61fb4d
fix model weights download path
hasan7n Aug 28, 2023
76d5a6f
misc fixes
hasan7n Aug 28, 2023
25eb0ca
Merge pull request #73 from hasan7n/fixes-for-cli-segment
sarthakpati Aug 31, 2023
70d94d8
Merge pull request #72 from FeTS-AI/fixing_docker_build_for_1.0
sarthakpati Oct 13, 2023
69b1dd6
Merge branch 'master' of https://github.com/FeTS-AI/Front-End into fe…
sarthakpati Feb 15, 2024
dd1dab9
end of file updated
sarthakpati Feb 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
steps:
- name: Check out the repository
uses: actions/checkout@v3
# with:
with:
# lfs: false
# submodules: 'recursive'
submodules: 'true'

# - name: Check if the repository has changed
# run: ls -l
Expand Down Expand Up @@ -150,4 +150,3 @@ jobs:
# # This step uses the identity token to provision an ephemeral certificate
# # against the sigstore community Fulcio instance.
# run: cosign sign ghcr.io/fets-ai/front-end@${{ steps.upload.outputs.digest }}

Binary file added data/Algorithms_for_fetsTool1.0.zip
Binary file not shown.
Binary file added data/GANDLF_for_fetsTool1.0.zip
Binary file not shown.
63 changes: 31 additions & 32 deletions src/applications/Utilities/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,38 +106,37 @@ SET( DOWNLOADED_APPS_DIR ${PROJECT_BINARY_DIR}/hausdorff95 )

IF( NOT EXISTS "${DOWNLOADED_APPS_DIR}" )

IF( NOT EXISTS "${FILE_TO_EXTRACT}" )

# do not re-download if the LFS fetch worked
IF(NOT EXISTS ${FILE_TO_EXTRACT})
# download exe from url
MESSAGE( STATUS "Downloading pre-compiled hausdorff" )
FILE(DOWNLOAD "${DOWNLOAD_LINK}" "${FILE_TO_EXTRACT}" TIMEOUT 1000000 STATUS STATUS_CODE SHOW_PROGRESS)
IF(NOT STATUS_CODE EQUAL 0)
SET( DOWNLOAD_LINK "https://github.com/CBICA/precompiledBinaries/raw/master/${PLATFORM_STRING}/Hausdorff95_${PLATFORM_STRING}.zip" )
FILE(DOWNLOAD "${DOWNLOAD_LINK}" "${FILE_TO_EXTRACT}" TIMEOUT 1000000 STATUS STATUS_CODE SHOW_PROGRESS)
IF(NOT STATUS_CODE EQUAL 0)
MESSAGE(FATAL_ERROR "Failed to download Precompiled hausdorff. Status=${STATUS_CODE}")
ENDIF()
ENDIF()
ENDIF()
ENDIF()

FILE(MAKE_DIRECTORY ${DOWNLOADED_APPS_DIR})

MESSAGE( STATUS "Extracting pre-compiled hausdorff" )
IF( EXISTS "${FILE_TO_EXTRACT}" )

EXECUTE_PROCESS( COMMAND ${CMAKE_COMMAND} -E tar xfz ${FILE_TO_EXTRACT}
WORKING_DIRECTORY ${DOWNLOADED_APPS_DIR}
RESULT_VARIABLE RESULT_CODE
)

IF(NOT RESULT_CODE EQUAL 0)
MESSAGE( WARNING "Extracting the pre-compiled hausdorff failed" )
ENDIF()

ENDIF()
# IF( NOT EXISTS "${FILE_TO_EXTRACT}" )
# # do not re-download if the LFS fetch worked
# IF(NOT EXISTS ${FILE_TO_EXTRACT})
# # download exe from url
# MESSAGE( STATUS "Downloading pre-compiled hausdorff" )
# FILE(DOWNLOAD "${DOWNLOAD_LINK}" "${FILE_TO_EXTRACT}" TIMEOUT 1000000 STATUS STATUS_CODE SHOW_PROGRESS)
# IF(NOT STATUS_CODE EQUAL 0)
# SET( DOWNLOAD_LINK "https://github.com/CBICA/precompiledBinaries/raw/master/${PLATFORM_STRING}/Hausdorff95_${PLATFORM_STRING}.zip" )
# FILE(DOWNLOAD "${DOWNLOAD_LINK}" "${FILE_TO_EXTRACT}" TIMEOUT 1000000 STATUS STATUS_CODE SHOW_PROGRESS)
# IF(NOT STATUS_CODE EQUAL 0)
# MESSAGE(FATAL_ERROR "Failed to download Precompiled hausdorff. Status=${STATUS_CODE}")
# ENDIF()
# ENDIF()
# ENDIF()
# ENDIF()

# FILE(MAKE_DIRECTORY ${DOWNLOADED_APPS_DIR})

# MESSAGE( STATUS "Extracting pre-compiled hausdorff" )
# IF( EXISTS "${FILE_TO_EXTRACT}" )

# EXECUTE_PROCESS( COMMAND ${CMAKE_COMMAND} -E tar xfz ${FILE_TO_EXTRACT}
# WORKING_DIRECTORY ${DOWNLOADED_APPS_DIR}
# RESULT_VARIABLE RESULT_CODE
# )

# IF(NOT RESULT_CODE EQUAL 0)
# MESSAGE( WARNING "Extracting the pre-compiled hausdorff failed" )
# ENDIF()

# ENDIF()
ENDIF()

FILE(GLOB HausdoffEXE "${DOWNLOADED_APPS_DIR}/*")
Expand Down