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

python3 compiling cleanup (continued) #24301

Merged
merged 2 commits into from Aug 22, 2018
Merged

Conversation

davidlange6
Copy link
Contributor

various fixes for invalid python syntax. Main themes

  1. change the ending of CondCore/Utilities/scripts/fnget.py as its a bash script
  2. FWLiteEnabler::enable() is C not python. Replaced by ROOT.FWLiteEnabler.enable()
  3. '\u' needs to be explicitly escaped as '\u' in python3

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidlange6 (David Lange) for master.

It involves the following packages:

CondCore/Utilities
DQM/Integration
DQMServices/Diagnostic
HLTrigger/Tools
PhysicsTools/PatAlgos
PhysicsTools/PythonAnalysis
RecoLuminosity/LumiDB

@perrotta, @cmsbuild, @andrius-k, @silviodonato, @kmaeshima, @fwyzard, @schneiml, @monttj, @Martin-Grunewald, @gpetruc, @jfernan2, @slava77, @ggovi, @arizzi can you please review it and eventually sign? Thanks.
@TaiSakuma, @gouskos, @rappoccio, @Martin-Grunewald, @thomreis, @ahinzmann, @threus, @seemasharmafnal, @mmarionncern, @imarches, @makortel, @smoortga, @acaudron, @jdolen, @drkovalskyi, @ferencek, @barvic, @jdamgov, @nhanvtran, @gkasieczka, @schoef, @mmusich, @clelange, @HeinerTholen, @batinkov, @JyothsnaKomaragiri, @mverzett, @gpetruc, @mariadalfonso, @pvmulder this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@davidlange6
Copy link
Contributor Author

davidlange6 commented Aug 15, 2018 via email

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 15, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/29851/console Started: 2018/08/15 18:49


get_plot1(infile,'totalTime')
texpreamble = ['\documentclass[10pt,a5paper,landscape]{report}\n',
'\\usepackage{graphicx}\n',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not understand the changes here: this line starts with a double back-slash, but not the line above,
while both lines should produce LaTeX text lines starting with a single back-slash each.
??

@davidlange6
Copy link
Contributor Author

davidlange6 commented Aug 15, 2018 via email

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-24301/29851/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2891469
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2891278
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 129 log files, 14 edm output root files, 31 DQM output files

@cmsbuild
Copy link
Contributor

Pull request #24301 was updated. @perrotta, @cmsbuild, @andrius-k, @silviodonato, @kmaeshima, @fwyzard, @schneiml, @monttj, @Martin-Grunewald, @gpetruc, @jfernan2, @slava77, @ggovi, @arizzi can you please check and sign again.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-24301/29914/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2983602
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2983405
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 129 log files, 14 edm output root files, 31 DQM output files

@perrotta
Copy link
Contributor

+1

  • Just rebased since last reco signature

@Martin-Grunewald
Copy link
Contributor

+1

@andrius-k
Copy link

+1

@ggovi
Copy link
Contributor

ggovi commented Aug 20, 2018

+1

@kpedro88
Copy link
Contributor

@davidlange6 a comment for the future: when writing TeX strings in python, I find it easier just to mark them all as raw strings like r"\u...", rather than trying to escape backslashes everywhere.

@kpedro88
Copy link
Contributor

+1

@kpedro88
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit 08e7fec into cms-sw:master Aug 22, 2018
@kpedro88
Copy link
Contributor

@davidlange6 it would be useful to backport at least the parts of this affecting pileupCalc.py to 10_2_X, which is now the recommended analysis release (otherwise the script is broken).

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

8 participants