#2405: GW150914.rpar gallery example assumes "python" is python2
Reporter:Roland Haas
Status:new
Milestone:
Version:
Type:bug
Priority:major
Component:EinsteinToolkit website

Comment (by Roland Haas):

One thing that should be fixed: the pull request had “python3” in the “#!” line which is just as bad as what was there before, as it will now fail unless python3 exists. It tooks like a leftover from testing (and forcing python3) to me.

A solution would have been to change “/usr/bin/env python” to “/usr/bin/env python2” since python provably existed and the name “python2” exists even on clusters (eg BW) that natively only offer python2.

Given that the script now does seems to support running as both python2 and python3 code I think the “#!” line could remain unchanged.

Fine to apply otherwise.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2405/gw150914rpar-gallery-example-assumes