<commit_before>#!/usr/bin/env python

import sys, os
sys.path.append("..")
from afs.util.AfsConfig import AfsConfig, setupDefaultConfig
from afs.util.options import define, options
from afs.service.VolService import VolService
import afs

setupDefaultConfig()
afs.defaultConfig.AFSCell="desy.de"
volMng = VolService()
VolName="root.cell"
VolG=volMng.getVolGroup(VolName)
print VolG
for v in VolG["RO"] :
    vol = volMng.getVolume('root.cell',v["serv"],v["part"])
    print vol
<commit_msg>afspy: fix example<commit_after>#!/usr/bin/env python

import sys, os
sys.path.append("..")
from afs.util.AfsConfig import AfsConfig, setupDefaultConfig
from afs.util.options import define, options
from afs.service.VolService import VolService
import afs

setupDefaultConfig()
afs.defaultConfig.AFSCell="desy.de"
volMng = VolService()
VolName="root.cell"
VolG=volMng.getVolGroup(VolName)
print VolG

for v in VolG["RO"] :
    vol=volMng.getVolume(v["id"],v["serv"],v["part"])
    print vol


{'fraction_non_alphanumeric': 0.1365953109072375, 'fraction_numerical': 0.0, 'mean_word_length': 5.819444444444445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1850941', 'n_tokens_mistral': 354, 'n_tokens_neox': 348, 'n_words': 77}