The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit 8e054326 authored by eric pellegrini's avatar eric pellegrini
Browse files

Updated the Frmework.__init__ with the new path set for MDANSE macros directory

parent eb4a6f25
import os
from MDANSE import PLATFORM,PREFERENCES,REGISTRY
from MDANSE import PLATFORM,REGISTRY
directories = sorted([x[0] for x in os.walk(os.path.dirname(__file__))][1:])
macrosDir = PREFERENCES['macros_directory'].get_value()
macrosDir = PLATFORM.macros_directory()
directories.insert(0,macrosDir)
directories.extend(sorted([x[0] for x in os.walk(macrosDir)][1:]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment