Ignore:
Timestamp:
Dec 17, 2019 3:54:20 AM (23 months ago)
Author:
vondreele
Message:

Set phase name from rmc6f importer = imported file name & set default directory to its location. That facilitates use of RMC/View to see results from any RMCProfile run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2phase_rmc6f.py

    r4206 r4208  
    1717from __future__ import division, print_function
    1818import sys
     19import os.path
    1920import numpy as np
    2021import random as ran
    2122import GSASIIobj as G2obj
    22 import GSASIIspc as G2spc
    2323import GSASIIlattice as G2lat
     24import GSASIIctrlGUI as G2G
    2425import GSASIIpath
    2526GSASIIpath.SetVersionNumber("$Revision: 1812 $")
     
    5657        fp = open(filename, 'Ur')
    5758        Phase = {}
    58         Title = 'RMCProfile box'
     59        Title = os.path.split(filename)
     60        G2G.SaveGPXdirectory(Title[0])
     61        Title = os.path.splitext(Title[1])[0]
    5962        Atoms = []
    6063        S = fp.readline()
Note: See TracChangeset for help on using the changeset viewer.