HOW TO MODIFY JULIA 2.0 SESSION FILES
Session files created by Julia can be modified outside of Julia (that is,
without using Julia) in order to do such things as:
(1) add INPUT FUNCTIONS from
one SESSION into another SESSION,
(2) add OUTPUT SETS from one
SESSION into another SESSION, and
(3) add OUTPUT SETS created by other applications (such as Mathematica) to a
SESSION.
The new SESSION can then be loaded into Julia in the usual way.
1. How to add INPUT FUNCTIONS from one SESSION into
another SESSION
Suppose you have SESSION files T1.julia.zip and
T2.julia.zip and you want to
add an INPUT FUNCTION from T1.julia.zip to
T2.julia.zip. You can do
this by the following.
- Open both T1.julia.zip and
T2.julia.zip (you need not extract them when
you do this). Any INPUT FUNCTION file (these are of the form
in.******.txt) from T1.julia.zip can be moved to
T2.julia.zip, but not directly. First copy
the chosen INPUT FUNCTION file to your desktop by a drag and drop, and then
copy the file from your desktop by a drag and drop to T2.julia.zip. You
can then LOAD T2.julia.zip into Julia in the usual way and your new INPUT
FUNCTION from T1.julia.zip will now appear with the other INPUT FUNCTIONS from
T2.julia.zip. When doing this,
be careful not to change the file name.
The unique names given to each file by Julia is needed by Julia to correctly
reference the INPUT FUNCTIONS and OUTPUT SETS.
2. How to add OUTPUT SETS from one SESSION into
another SESSION
Suppose you have SESSION files T1.julia.zip and
T2.julia.zip and you want to add an OUTPUT SET from
T1.julia.zip to T2.julia.zip. You can do this
by the following.
- Open both T1.julia.zip and
T2.julia.zip (you need not extract them when
you do this). Any OUTPUT SET file pair
(recall that Julia saves the OUTPUT SET files in pairs of the form
out.******.txt and out.******.dat) from T1.julia.zip can be moved to
T2.julia.zip, but not
directly. First copy the chosen OUTPUT SET file
pair to your desktop by a drag and drop, and then copy the files from
your desktop by a drag and drop to T2.julia.zip. You can then LOAD
T2.julia.zip into Julia in the usual way and your new OUTPUT SET from
T1.julia.zip will now appear with the other OUTPUT SETS from
T2.julia.zip.
When doing this, be careful not to change the file names. The unique
names given to each file by Julia is needed by Julia to correctly reference
the INPUT FUNCTIONS and OUTPUT SETS.
3. How to "import" in Julia OUTPUT SETS created by
applications other than Julia
Suppose you have SESSION file T1.julia.zip and you want to include as an
OUTPUT SET a set of data created by an application outside of Julia.
You can do this by the following.
- Create a file named out.new1.dat (the file name has to be of the form
out.****.dat where *** is not a number - though it may contain numbers).
This file must be in the same format as the .dat files created by Julia in
that it contains a list of ordered pairs (without parentheses) with one
ordered pair on each line (this is the format Mathematica uses for .dat
files). Then drag and drop this file into your SESSION file
T1.julia.zip
as in 1 and 2 above. Note, however, that this .dat file does not need a
corresponding .txt file. You can then LOAD T1.julia.zip into Julia in
the usual way and your new OUTPUT SET from out.new1.dat
will now appear with
the other OUTPUT SETS from T1.julia.zip. Since this .dat file was not
created by Julia, the label given to it inside of Julia will be
BASIC OUTPUT SET.