Hi, I fixed the following four problems with artemis reported to me last week: 1. a really bad bug triggered by using capital letters in parameter names 2. a strange end-of-line problem when artemis was run on unix using feffNNNN.dat files made on windows 3. the "View paths.dat" button will look for "paths.dat" or "path00.dat", i.e. it will find the paths file from feff6 or feff8 4. several related bugs in how the functional form of the FT windows were chosen and displayed on the screen I updated the source tarball and posted it on my web site. http://feff.phys.washington.edu/~ravel/software/exafs/ Artemis currently has the unfortunate, complimetary problems of lacking documentation while being a complex and unintuitive program. The best suggestion I can make for now for learning to use it is to check out the two project files in the examples/Cu/ directory. They are the ones with the .apj extensions. If you are a feffit user, you can import your `feffit.inp' files. If you have never used feffit before, I would recommend reading Chapters 2 and 4 of the `notes.pdf' file found on the web page for my "EXAFS Analysis Using FEFF and FEFFIT" course: http://leonardo.phys.washington.edu/~ravel/course/ Between that and examining the project files, hopefully Artemis will make some kind of sense. Thanks especially to Mark Jensen and Michael DeLeon for their email in the last few days. Regards, B -- Bruce Ravel ----------------------------------- ravel@phys.washington.edu Naval Research Laboratory, Code 6134 phone: (1) 202 767 5947 Washington DC 20375, USA fax: (1) 202 767 1697 NRL Synchrotron Radiation Consortium (NRL-SRC) Beamlines X11a, X11b, X23b, X24c, U4b National Synchrotron Light Source Brookhaven National Laboratory, Upton, NY 11973 My homepage: http://feff.phys.washington.edu/~ravel EXAFS software: http://feff.phys.washington.edu/~ravel/software/exafs/
I loaded the new artemis code (0617) and am running it on os-x and have found a bug (I think). Upon loading the results of a feff calculation, if one attempts to plot a given path, the following error appears about an uninitialized data. Thanks for the hard work. [etld1220:exafs/Analyzed Data/ZnOSe] paulfons% Use of uninitialized value in string eq at /System/Library/Perl/File/Spec/Unix.pm line 57. Use of uninitialized value in string eq at /System/Library/Perl/File/Spec/Unix.pm line 57. Line 57 corresponds to a Perl/Tk package, specifically in the following code: =item catdir Concatenate two or more directory names to form a complete path ending with a directory. But remove the trailing slash from the resulting string, because it doesn't look good, isn't necessary and confuses OS2. Of course, if this is the root directory, don't cut off the trailing slash :-) =cut sub catdir { my $self = shift; my @args = @_; foreach (@args) { # append a slash to each argument unless it has one there $_ .= "/" if $_ eq '' || substr($_,-1) ne "/"; <- THIS LINE GENERATES THE RUNTIME ERROR Any ideas of what could be causing this -- is this a Perl/Tk bug?
Dr. Paul Fons Photonics Research Institute National Institute for Advanced Industrial Science and Technology Ministry of Economics and Trade Umezono 1-1-1 Tsukuba, Japan 305-8568 tel. 81-298-61-5636 fax. 81-298-61-5615 paul-fons@aist.go.jp Lines below are in Japanese 独立行政法人 産業技術総合研究所光技術部門 〒305-8568 茨城県つくば市梅園1-1-1 産総研つくば中央第2 E-mail: paul-fons@aist.go.jp, Tel. 0298-61-5636, Fax. 0298-61-5615
After fitting the first shell of some standard data to determine the correct value of S02, I proceeded to start defining the next feff file and the following errors appeared (and artemis stopped responding) Use of uninitialized value in concatenation (.) at /usr/local/bin/artemis line 3684. Tk::Error: Can't call method "make" on unblessed reference at /usr/local/bin/artemis line 2171. Tk::Widget::Callback at /Library/Perl/darwin/Tk/Widget.pm line 988 Tk::HList::ButtonRelease1 at /Library/Perl/darwin/Tk/HList.pm line 298 Tk::HList::ButtonRelease_1 at /Library/Perl/darwin/Tk/HList.pm line 94 (command bound to event) Tk::Error: Can't call method "make" on unblessed reference at /usr/local/bin/artemis line 2171. Tk::Widget::Callback at /Library/Perl/darwin/Tk/Widget.pm line 988 Tk::HList::Button1 at /Library/Perl/darwin/Tk/HList.pm line 181 (command bound to event) Tk::Error: Can't call method "make" on unblessed reference at /usr/local/bin/artemis line 2171 I also noticed that the feff paths were ordered in something like ascii collating sequence as opposed to numerical ranking, e.g. 0001,0002,0011. I enclosed a small snapshot of the window. Any idea why this might be happening?
participants (2)
-
Bruce Ravel
-
Dr. Paul Fons