Skip to content

Commit

Permalink
Removed python-related lines
Browse files Browse the repository at this point in the history
  • Loading branch information
pskvins committed Jan 30, 2025
1 parent 0635bed commit f730e3a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/envs/variables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,6 @@ pub fn locate_path_cfg() -> String {
err::error(err::ERR_GENERAL, Some("Could not locate path.cfg".to_string()));
}
}
pub fn locate_encoder_py() -> String {
if File::open(format!("{}{}etc{}predict_3Di_encoderOnly.py", parent_dir(), SEP, SEP)).is_ok() {
format!("{}{}etc{}predict_3Di_encoderOnly.py", parent_dir(), SEP, SEP)
} else if File::open(format!("{}{}src{}py{}predict_3Di_encoderOnly.py", src_parent_dir(), SEP, SEP, SEP)).is_ok() {
format!("{}{}src{}py{}predict_3Di_encoderOnly.py", src_parent_dir(), SEP, SEP, SEP)
} else {
err::error(err::ERR_GENERAL, Some("Could not locate path.cfg".to_string()));
}
}

// binary paths
const VALID_BINARY: [&str; 7] = [
Expand Down

0 comments on commit f730e3a

Please sign in to comment.