Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix file case issue on macosx. #6507

Merged
merged 1 commit into from Nov 20, 2014
Merged

Fix file case issue on macosx. #6507

merged 1 commit into from Nov 20, 2014

Conversation

ktf
Copy link
Contributor

@ktf ktf commented Nov 20, 2014

The issue here is that btagsf.py and BTagSF.py, which is in the same directory, differ only in case. Mac is case insensitive so this makes the two file being effectively the same, breaking stuff. For the moment I simply renamed it and adapted CMSSW code using it. Feel free to propose a better solution.

@cbernet

ktf added a commit that referenced this pull request Nov 20, 2014
Fix file case issue on macosx.
@ktf ktf merged commit f060c3b into cms-sw:CMSSW_7_3_X Nov 20, 2014
@ktf ktf deleted the fix-heppy branch November 20, 2014 11:01
@cmsbuild cmsbuild added this to the Next CMSSW_7_3_X milestone Nov 20, 2014
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ktf (Giulio Eulisse) for CMSSW_7_3_X.

Fix file case issue on macosx.

It involves the following packages:

PhysicsTools/Heppy

@cmsbuild, @vadler, @nclopezo, @monttj can you please review it and eventually sign? Thanks.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
@nclopezo you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@cbernet
Copy link
Contributor

cbernet commented Nov 21, 2014

Thanks for the fix, Giulio.
The problem is that btagsf.py (now btagsf_lowercase.py) shouldn’t be there, as it’s just a copy of BTagSF.py.
I’ll take the occasion of my next pull request to remove btagsf_lowercase.py and keep only BTagSF.py

Cheers,

Colin

Le 20 nov. 2014 à 12:01, Giulio Eulisse notifications@github.com a écrit :

The issue here is that btagsf.py and BTagSF.py, which is in the same directory, differ only in case. Mac is case insensitive so this makes the two file being effectively the same, breaking stuff. For the moment I simply renamed it and adapted CMSSW code using it. Feel free to propose a better solution.

@cbernet

You can merge this Pull Request by running

git pull https://github.com/ktf/cmssw fix-heppy
Or view, comment on, or merge it at:

#6507

Commit Summary

Fix file case issue on macosx.
File Changes

M PhysicsTools/Heppy/python/analyzers/examples/JetAnalyzer.py (2)
R PhysicsTools/Heppy/python/physicsutils/btagsf_lowercase.py (0)
Patch Links:

https://github.com/cms-sw/cmssw/pull/6507.patch
https://github.com/cms-sw/cmssw/pull/6507.diff

Reply to this email directly or view it on GitHub.

@ktf
Copy link
Contributor Author

ktf commented Nov 21, 2014

Yes, that's what I suspected. However since JetAnalyzer.py I decided to
keep it.

On Fri Nov 21 2014 at 10:09:46 AM Colin Bernet notifications@github.com
wrote:

Thanks for the fix, Giulio.
The problem is that btagsf.py (now btagsf_lowercase.py) shouldn’t be
there, as it’s just a copy of BTagSF.py.
I’ll take the occasion of my next pull request to remove
btagsf_lowercase.py and keep only BTagSF.py

Cheers,

Colin

Le 20 nov. 2014 à 12:01, Giulio Eulisse notifications@github.com a
écrit :

The issue here is that btagsf.py and BTagSF.py, which is in the same
directory, differ only in case. Mac is case insensitive so this makes the
two file being effectively the same, breaking stuff. For the moment I
simply renamed it and adapted CMSSW code using it. Feel free to propose a
better solution.

@cbernet

You can merge this Pull Request by running

git pull https://github.com/ktf/cmssw fix-heppy
Or view, comment on, or merge it at:

#6507

Commit Summary

Fix file case issue on macosx.
File Changes

M PhysicsTools/Heppy/python/analyzers/examples/JetAnalyzer.py (2)
R PhysicsTools/Heppy/python/physicsutils/btagsf_lowercase.py (0)
Patch Links:

https://github.com/cms-sw/cmssw/pull/6507.patch
https://github.com/cms-sw/cmssw/pull/6507.diff

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#6507 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants