kbat / mc-tools Goto Github PK
View Code? Open in Web Editor NEWSome Monte Carlo tools
License: GNU Lesser General Public License v3.0
Some Monte Carlo tools
License: GNU Lesser General Public License v3.0
I made the version string taken from the output of git describe --tags --long
. It's OK if the tools were downloaded by doing git clone
, but when the source was downloaded as a ZIP the version string becomes 0.0.0
.
I think we need to add a GitHub hook to set the version string in setup.py
for ZIP downloads, thought I know almost nothing about the hooks. (A negative/tempral solution would be to disable "Download ZIP")
Привет, надеюсь вы из России
Заранее прошу прощения за засорение, не
знал как по другому с вами связаться
Работаю в Windows
С Питоном никогда не работал, но очень
нужна вот эта программка для облегчения
работы с MCNP и чуть-чуть
проконсультироваться насчет нее (как она
работет и что для ее работы нужно в системе)
http://mc-tools.googlecode.com/svn/trunk/mcnp/mctal2root.py
В системе давно установлен ROOT 5.24.00, MCNP
Скачал и установил Питон 2.7.2
Мои действия
1)Запустил IDLE (Python GUI)
2)File->New Window
3)Скопировал код по вот это ссылке
http://mc-tools.googlecode.com/svn/trunk/mcnp/mctal2root.py
4)Нажал F5 и вышла вот такая ошибка:
Traceback (most recent call last):
File "C:\Users\еее\Desktop\mctal2root.py", line 5, in <module>
from ROOT import ROOT, TFile, TH1F, TObjArray
File "C:\root\bin\ROOT.py", line 86, in <module>
import libPyROOT as _root
ImportError: DLL load failed: Не найден указанный модуль.
Но DLL лежит по адресу C:\root\bin\libPyROOT.DLL
Конечно я не знаю толком что мне надо
делать, так как с Питоном не имел дела
вообще, так как возможно надо еще что-то
установить, скачать, так что помоги если не
трудно.
Мой e-mail : [email protected]
С Уважением Александр
Original issue reported on code.google.com by [email protected]
on 19 Sep 2011 at 9:25
With mesh = xyz and a 2D axis (e.g., yz), the bin contents of TH2 are read in a
wrong sequence. It seems this is the case only when the x- and y-axes have both
negative and positive values. An input file example is attached.
Original issue reported on code.google.com by batkov
on 20 Jan 2012 at 12:43
Attachments:
After reading How To Package Your Python Code I think the package structure I made was wrong and tried to correct it in a new branch named 'pkg-struct-fix.
Could you guys test the code in the new branch by installing it e.g. with pip?
(As I use PHITS only, I've only tested angel2root, as always... Of course I did something like import mc_tools.common.mixtures
).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.