Skip to content

ERRASER script converting python versions results in spurious diffs #41

@everyday847

Description

@everyday847

So, there's this pair of scripts in ERRASER: convert_to_phenix_python and convert_to_sys_python. There are two issues:

  1. The sed syntax is platform dependent. I don't think sed -i 's/env python/env phenix.python/g' *.py works on Macs. (At least, it gives me sed: 1: "SWA_rebuild.py": invalid command code S and I do think there's a platform dependence, from what I remember.)
  2. You cannot use these scripts in a checkout of the repo where you are doing any development work or you will commit spurious changes. The files it changes are versioned, after all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions