Remove hard coded paths
Replacing hard-coded paths in middle_layer with the helper function get_middle_layer. These changes that were wrapped up in the IntelliJ debugging and CAPO changes in a previous MR (now closed).
NRAO Gitlab has been upgraded to version 17.6.2
Replacing hard-coded paths in middle_layer with the helper function get_middle_layer. These changes that were wrapped up in the IntelliJ debugging and CAPO changes in a previous MR (now closed).